package com.neusoft.neuiotms.dcam.workflow.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcam.workflow.model.RukuFinanceConfirmSL;

public interface RukuFinanceConfirmSLRepository extends JpaRepository<RukuFinanceConfirmSL, Long> {

    RukuFinanceConfirmSL findByTaskId(String taskId);

    RukuFinanceConfirmSL findByWorkOrderNumAndTaskId(String workOrderNum, String taskId);

    List<RukuFinanceConfirmSL> findByWorkOrderNum(String workOrderNum);

    RukuFinanceConfirmSL findTopByWorkOrderNumOrderByCreateTimeDesc(String workOrderNum);
}
